|
<DIV id=list>7 g; f7 B7 `7 w1 k$ T" G
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>$ Y4 {* g; L3 [# n, v
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>5 ~% y6 G( ?$ ]/ d6 k) M* d
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>! V3 Z5 \6 G5 }9 o5 i( F; W) @' B
<DIV id=lrc3 style="COLOR: #666666"></DIV>6 b6 _; _! j% S3 p8 m- s8 ~2 `' l6 M
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>% d, g+ R6 m; ^8 d
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>8 A) B5 x; l' d- _ F2 \! i
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>$ H3 [1 P3 v1 B [
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
# h- w5 l! q+ ?1 j<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>6 b6 }" u$ k: z: C8 F
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>: y. k" ~) [# O8 n0 X+ ?7 A
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>, |# @0 O9 w" D
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>+ s& u/ |2 T$ W" ~2 @* I& e
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>* h0 K4 B2 ^5 f) m! w- H- N y
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
$ E3 ~3 \2 r2 d% Y0 n6 B<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>3 m: v% i$ Q* o9 d, L# } E/ d
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
, \/ F& p' p+ s& @0 X<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
/ k. y" S `* g" Q<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV># |9 j% d, L7 r5 e
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
( v% E( @$ R! c$ P2 x<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
- o* q) `, K+ A3 D, e- n<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>/ h5 F3 _6 Z, v. Q4 }4 r
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV> B; L- p- w/ ]4 H+ c9 N. `
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>, Q( m6 F9 [9 q: D6 T
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV> W6 P6 }1 A- I3 U
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>' z% Z& r; c2 M6 o4 C; s
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
G, R4 d: U; _3 H! r<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>! a- t) D, w( G$ l. _6 k
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>, f" X0 m8 \: @% ~8 e# Z& x
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>( _( h1 E _* N: }3 h$ V# ^8 @/ c
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>( E. t0 d4 h% [5 S
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
/ I- S% D+ z& _" I<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
( b- _: e, h! J4 B4 I" d<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
, p, N3 i% v+ [0 J- h( J; f<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>- _3 ~$ z- z" G1 Q- A0 y) L7 R
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>
7 t. C7 }+ b- F" O6 {<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
! N3 |" V- u$ ^1 K/ d$ B% O<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
$ y' U+ W3 z: \$ ]<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
- Q8 |/ l8 J! R1 b6 Z" \4 J4 S<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>1 ?2 J2 {% V- U5 h0 Z( K' c
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>9 j7 ]% l, s2 L9 P
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>7 s* h" Y! p/ a: `
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>6 F0 `" \/ B* v5 |/ e* d
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>* q$ v( y; M" q
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
! J2 t4 w) J& j1 ?" M<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>/ j! \$ @. E# a& u K
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
) U1 H& a C% z<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
. M- @; c, ~4 s* H<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>9 o' b- K. I% P: X/ B ~* A! d
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV> [+ o' [, G4 d, b' c @
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
! G6 {, R! t9 i( h<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV> v! b, {$ P+ z; ^6 F! n3 f
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
1 p% s( R- L- k" x& y$ {/ a9 C<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>" L& o7 z2 |/ H6 ]' m4 K
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 ; k5 W7 F6 W3 @
<DIV id=lrc style="DISPLAY: none"></DIV>3 _; Z1 G4 @* _
<SCRIPT type=text/javascript>
% O8 v- \" U5 S) o. D Tdocument.domain="1ting.com";
1 x" `+ l- o+ R$ k2 Fvar colorPasted="#666666";3 e9 [1 R8 z8 L% b0 I+ Y4 o, u! B
var colorPlaying="#ff3300";# s8 S5 V! d* Z
var colorNormal="#000000";
8 j7 Z2 X1 N0 s, N/ k' N$ = function (a,g){
0 [ `6 J( k2 [( O( Y4 x var o = new Array(); $ ^. Q' j' f. P4 o& C2 h9 l$ c
var c = new Array();
' w/ Z3 P: x$ w; ]6 X var r; $ b Q6 P7 J1 i9 ~6 B% S' X
var u;
4 r# b5 @1 a# S8 ]/ V/ s var a = a.split(';');
, y1 f( }# M" @
0 X: S6 M3 V T$ t var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(","); h, p" e: }) d# T
for(var i=0;i<e.length;i++){
+ K6 r; d- e7 | eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
4 c& a; n) X6 D9 e, t& m9 L. u6 U }
- Q, k8 k. m V2 `! f
( u) `* i: w) p after = function (t,d,s){
9 P1 _+ j! L$ L0 R$ x$ V5 g- Y $after = function (){3 ^ k3 ]: q6 W
var $n=document.createElement(t);. d* _; f% h4 h9 x
if(d!=null){
6 w0 W9 E5 A# x8 e1 K1 G# ^ $n.id=d; $ C" X0 X' W- x0 v
}
) F h2 q1 A _3 `& q% S 5 h/ w7 z$ f0 ?0 u( i
u.insertBefore($n,null) 9 z& B6 q3 K: c# X
r = $n; + s* e3 @ E$ M5 w0 O& E
u = $n;
$ B: D) _8 e5 J* M i- j, R }. |3 R* ^ g o
$for(s,"$after")
9 s0 p" N6 v+ C. m3 a0 x, x. A }
5 M$ k$ x& w3 u- o* }3 ~8 J% P2 W( `5 m2 Q( T7 P6 S
show = function (s){0 R9 m/ Z5 }5 {: q! t7 a
$show = function (){
" I! y/ J; [7 V5 e5 x u.style.display!="none" ? style("display:none") : style("display:block") ;# `2 T0 ?; X* a
}) S0 U* ]3 s# ~+ q
$for(s,"$show")
2 `( s# w1 s/ q: b/ t' Q }9 C! c0 p0 j5 n8 l% O& H4 c" q
3 f0 {) m9 T+ n5 V# b" b+ u9 M1 H
check = function (t,s){
1 H1 T3 P' e9 L $check = function (){
: U" V1 |7 j; V5 R8 J+ a if(t=="2"){
/ P/ ~9 ]( i4 C; [# { if(u.checked){) p' [; C% r6 E# s- K& ~
u.checked = false;
( `9 J$ w, i- [$ @+ _ C8 L7 {6 _ }else{
( |" r: q: b" U2 }: G" E' W+ Y u.checked = true;
- `0 S, H8 p# |, }% { }" A5 m6 B0 O4 x* @
}else{
" e4 t7 u3 G1 ~3 l8 m/ t u.checked = t*1 ;7 d0 e$ l* J; n: ]) K
}( {4 G: l3 n6 {& E
}7 z2 E$ w7 N; [8 d x
$for(s,"$check")# ?7 b" Z# M/ c- r) w- Z: D7 f
}# |& b- @8 S" L$ Q8 y) W, i* d0 D
5 h4 U8 ^4 P5 e7 h @ style = function (v,s){( [# _: w6 h& g5 F) }+ R
$style = function (){
9 [# l0 R" Y0 r: H var $n = v.split(",")
: N6 t7 n! Q( T5 A! s- T for (var i=0;i<$n.length;i++ ){: Q8 a9 }7 e6 _1 E' j. j2 H/ b' Q$ l
var $m = $n<i>.split(":") / O! L) E% c, y o m$ g" S
eval("u.style."+$m[0]+"='"+$m[1]+"'");: t$ c) [, j: w" l9 ~. t
}
& r: K6 Z+ ^; }% b7 ?* U4 Z& _ }( K! U" q& K6 [; A- t
$for(s,"$style") e' M$ s, y' v/ ~+ m
}: ?6 K, X- I4 u* t4 w& B
) d) z; M) D% b. X value = function (v,s){9 E6 S" _' U; ?0 _2 |
var $n= $this (v);
2 b! o0 k3 K' E- b/ b $value = function (){6 {7 V/ b& R( [) @' a
u.value = $n7 \* k# N5 Q5 D1 {6 S
}+ z) n" K) x1 A4 g
$for(s,"$value") ! u ^; i! `0 L5 z) ]. y
}
$ F, X4 `/ ~* B/ `! ^) L
: P- r B! J, A text = function (v,s){
# c, f& V4 D' F) J( s var $n= $this (v);
2 E. \8 X1 D/ p, ^. z $text = function (){, o$ t* d C8 S; Z4 Y o9 r: C6 b& i
8 f5 e' u! C/ R( B: A+ [6 `+ Y3 x
u.text = $n
* R. l$ Q& i4 w/ }0 w }
5 c* J# o0 V* j5 n+ y4 I! g $for(s,"$text") 2 E! j6 w# F0 `* }' B6 E! H
}
% Y: _9 P/ l; S1 S! {+ B: C: ~2 i- I9 e
innerhtml = function (v,s){
0 K) w* H/ E1 f var $n= $this (v);7 Q6 q. I) V" p! X
$innerhtml = function (){
9 z4 l% ^. v; l# x% L) T6 X u.innerHTML = $n
; h, d: ~3 T* l7 n, U }
, Y/ t6 V/ D9 i4 U+ O $for(s,"$innerhtml")) l* G6 E9 l2 H, P% N6 F$ J
}" x/ y: X) |/ E& L& C; A
- ?" I( c3 n* X+ @ removechild = function (s){
h) `9 ]: a& X" a8 B+ N $removechild = function (){7 Q7 m% n3 c7 P- h3 D
u.parentNode.removeChild(u)- D/ A. |. \6 K% \/ ?( h' x* p
}
7 R- @ H6 ^) M* x9 j, K; d $for(s,"$removechild")8 H) b. I% u! W: m
}
6 W4 w& t0 r9 \: t$ Z- h4 C
8 L8 V) n7 ^6 A& _ $this =function(v){+ P- X5 ?+ E8 c6 s5 Z
if(v.indexOf("this") == 0){
, K( {! t6 H+ b+ x" L# E" y( L' H return eval(v.replace("this","u"))
2 `9 m& l' h4 S! q# y- a }4 p5 m% n0 T+ p& I
return v;, H3 T! C U8 ?6 V% y O
}0 a6 l5 [, F9 K! T, ~3 H2 O
- S/ Y7 B( U5 A% M- S2 _( u& Y $event = function (s){
! `* P% d% R: I" [: ^1 w var $n ="u."+s+" = function(){$work(this,s);}"
7 y% l. T/ Q4 ~* e' C( Y return $n;9 y! ?# J9 B4 F4 I2 x0 X8 W
}
# y! p0 E7 H$ U5 Z, _. _- P8 b
$replace = function (s){" M2 x0 a4 c9 _$ D$ D# z0 }1 s. P
+ D$ Q1 x% }3 T# l) T
}
; L& m/ {) T' r! }) d# D5 w/ v( S$ B4 y: ~
$for = function (s,c){
: p( Q# m" q: f- W var $n="this."+c+"()" ;& b' l$ \9 n6 D8 C' b) I4 w
if(s!=null){
$ w* h. t' V: \/ A A/ J- [ var $m =$test(s);9 b) L" k$ C Y9 B- X5 z* _
for (var i=0;i<$m.length ;i++ ){
7 z7 x" ^$ r1 }9 \% q1 E u = $m<i>;
3 v: E$ D5 L; Z1 J. U) w eval($n);; I' \, i9 C9 S) I
}+ [% n: h7 U; J
}
4 |5 ^' {( A0 t4 c, F0 _ else{4 i6 k' t8 ]0 i# C& Y$ i0 \) a
eval($n);
, z- R: q' X1 K6 X# B9 d% g }" \$ y& a/ j0 L$ L
}$ q( K/ Z3 h3 X$ Y1 f" T3 g8 c' Q9 f
E9 }9 \+ ^( z! v6 P# N
$test = function (a){5 F) ~& Q- F U* G: O
var o = new Array();$o(a.split(';'),o);
5 [# c: m7 z4 h- }; d. R return o;
8 n9 s- k' d; Q- g, q7 L }
, }) C1 V. j$ ^% D) u0 Y V9 i
1 {3 o. \5 p' r4 g $format = function(s){2 \9 i& C* r/ u& U
while (s.indexOf("'")>0){
j0 i. a9 f& O6 P& E s=s.replace("'","\"");, V8 Z, J! U$ u6 [- Y8 ^
}
, a1 H' r7 \+ C1 L9 J while (s.indexOf("][")>0){4 i1 G$ x: W8 P' s. ^; @9 O7 p0 h
s=s.replace("][","','")
( r* o! e, r: d. @) r) T+ k }: N# r! Q) ^. f& P8 p5 ?8 D n
while (s.indexOf("[")>0){+ U: n D& d! e" v% w# H
s=s.replace("[","'").replace("]","'")
( I4 \5 S, @! K$ @; C# c } 7 v$ g0 m! |2 I$ V' p
return s;$ n3 V: a! H& Y @! a
}# ]: N% w( N2 Z8 U* h3 N
, L# w8 d8 O$ u- G5 [5 m
$work = function(w,s){
( F7 K, N4 P; m! b u=w;eval(s)
. \ S9 F/ g' V }
4 G% ~+ l# W6 M- X" k( y$ z/ n: b5 j% H3 l' x, K& `6 h& P+ u% G; r
$id = function (s){
* v, T" c I# o" V) p) w return document.getElementById(s);! s5 G6 m/ \, J* F: r
}3 G7 g0 A+ A5 o
3 J0 I3 j+ g7 z0 c
$name = function (s){* H/ K7 {; ^ _
return document.getElementsByName(s);& ^6 @$ z: Q2 u: J+ K! i
}2 T4 s% J2 t) t1 V
5 T" T U, X4 V( o $tagname = function (s){
7 n. M! a6 h |9 q. H5 b return document.getElementsByTagName(s);
/ V3 i5 u6 G( S# n& u7 u }
+ G; Q' t* I0 _9 N \# M
( d" l# O* n/ v# ?$ X a2 H" J Y $o = function (a,o,c){4 V( f( b- i7 c; @5 g) f/ m5 M" O
$push = function (n) {
$ G( Z" c/ v& k: ~+ a6 n% b1 T for (var i=0;i< n.length;i++ ){
( S" q9 X' W0 h5 { o.push(n<i>);/ N9 p1 ]! I0 M. H/ P
}
$ \3 W9 @& L5 |: v# _2 T3 T }
# ]5 S! O4 T4 c1 V) V for(var i=0;i<a.length;i++){
6 q% G, u" n+ r. |: R; B, a" n( ? if(a<i>.indexOf("(") >= 0){) J9 |7 }' Z! A3 R: V
c.push(a<i>);5 x6 w3 d/ _, K% ?
}
" x: c4 D9 ^6 W" M- W* k4 r if(a<i>.indexOf("~") > 0){; H# v7 M6 M0 z" \( d+ z6 r7 q& H
try {
# \9 F7 s, W5 @* G+ ~ $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
' R' |# R; p1 M" W& r- b& C1 t }catch(e)
6 z* }5 [2 q: I3 B {}
' C! q% d1 y7 ?6 L0 J! [4 ~ }* ^ O8 F* Y! T/ L* {) Y' H9 F
else{
, M1 `; P. v, J/ H3 J: I) H if(a<i>.indexOf("#")==0){4 A$ J `+ s- u2 `: Z; H2 n/ H
o.push($id(a<i>.replace("#","")));$ v7 }0 @" l! U" t
}
/ O$ J5 _ R1 n9 I- C if(a<i>.indexOf(".")==0){
. V4 @% U. e2 P p $push($name(a<i>.replace(".","")));# Z, p" ^8 Z( q* @
}+ @5 N+ a5 C8 J" N# W
if(a<i>.indexOf("@")==0 ){
2 u- {* x1 q( @0 Y- d $push($tagname(a<i>.replace("@","")));( m7 w& C8 v0 w$ j% K0 r, X
}
1 G7 o, n( D% h' d4 w1 k if(a<i>.indexOf("*")==0){% S7 n& s2 O/ l8 k( q' M3 M, w
$p= a<i>;' i1 r2 w# }' S. b/ N9 [7 i
if($p.indexOf(".")< 0){
& _% h' k9 N ^7 [; K $p = $p.replace("parent","parentNode")
2 H0 k# ~2 P9 T, z9 m }
/ Y/ F" O% |. _* j& X/ y var $p ="u."+$p.replace("*","");1 ~, f7 |0 {' P; }% t. ?
while ($p.indexOf("parent.")> 0){8 s, x: Z4 h) u4 R
$p = $p.replace("parent.","parentNode.")- H9 B: J$ { d& X4 u
}
$ i$ Z; L! \6 w$ }: j while ($p.indexOf("child{")> 0){
0 g, p) ]- }* y $p = $p.replace("child{","childNodes[").replace("}","]")
5 G4 U. I0 n4 v$ o2 N2 r" o }
: Z+ R( G" D: N) W o.push(eval($p));
6 _: u8 T9 \* m4 F6 G }
4 y2 [# p0 r9 H if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){, d7 _- o' o n
o.push(eval(a<i>));
- n$ G2 T2 W b4 ? }' }) j) X& U; w. J
}
9 l: Z0 u5 ^# [ s if(g!=null){ 6 g3 V; ^. C# {/ S7 n8 ?
o.push(g);g=null# n, R, K# @! h8 D# v% _4 b
}
~* t6 x, H) v5 `* ] }8 \; [2 u8 Q& o! A1 P
}# ~; o# p. f9 z0 C8 G! d
$ @9 p ^7 A8 {* o $o(a,o,c);$ e6 d, z1 }6 ~6 u$ _
u E- @5 o( C# G1 @" L% Q
for(var i = 0;i<o.length;i++){
* r' E% E! p% E9 c for(var j=0;j<c.length;j++){, f& |; ^! Y% w1 I6 W
u = o<i>;eval($format(c[j]));
# w) z6 W9 d" _4 D. s3 }& Y }
" G; q$ G( m0 N% w }* q- z( N7 v! Q2 o4 _! L
[( z3 N9 W' A- P# ^0 t: S8 b- M if(o.length == 0){
9 `( t' o% L- p for(var i=0;i<c.length;i++){
: T5 W7 u- P* F& W. `6 }' H2 w eval($format(c<i>));5 }2 L# R9 {+ |- o$ c2 j: k6 H; ^
}
$ t+ P, c C& a }
: |8 Q h; K$ ~% y
2 Q, _, q) @% v; S* d: _4 Z1 d8 @) @ if(r!=null){
5 N( I. ]3 M) p2 _( l4 w8 p f return r;+ z1 A1 B8 v3 c" @( c/ m
}3 P. y: p$ q0 C6 E
0 o9 @1 V# r! n* s! q# n3 `
if(o.length==1){& z% i, C J" y, O9 R& i
return o[0];" a+ n1 i" P h" A7 P
}
. h$ Y. m3 w: v* L+ s else{
( u8 y, b( A/ J1 g return o+ u2 p. G& R* D; O
}
* j8 J! z$ e" ?2 U# a% Y7 ?& E. {; Z 0 S3 D. ?; l" T9 k
}
1 z6 `0 q# N9 z0 K2 f' m3 [var lrc =$("#lrc;show()").innerHTML.split("[");+ f2 Y3 {6 r/ S5 E0 v; Z
if(lrc.length>5){+ V# U! t. X1 B; Z" A2 _" @( A) Q* ]
var array = new Array();& x' O! ~# Z; X; D$ A
for (var i=0;i<lrc.length ;i++ )
6 I$ x' L) [. M- i9 M3 ^{
( A( h% p! m: q) d/ b var g = new Object();1 H! ~8 `& d$ e# D7 M
t= lrc<i>.split("]");' {6 G# t1 [* J" v8 Y- {
g.time = getTime(t[0]);
) p: b) P e8 `. K0 n' ]4 f$ u if(isNaN(g.time)), m& b% f) ]7 a, t% C
continue;
! m5 @1 j" Q8 y1 j; T: s; J g.c = t[1];
. y3 j, E6 h: ^0 I& w& a if(g.c == "")
% M7 m4 O5 E X0 f* j g.c = getNext(i);
% ], }/ s( a0 f/ Z( a array.push(g);
. @# ] T5 M& J- \: p1 \" H}4 C& i! v+ F, q- b$ O' M0 m
array.sort(function(x, y) {* |( ?% o$ n. D( v0 d; w
if (x.time>y.time) , q' U# s1 c: d* }. ], p8 D
return 1;) D v+ c4 j+ ~5 R" B3 |
else if(x.time<y.time) {; t4 J+ d: [% f3 q5 m
return -1;
1 R% ~6 Z/ v3 ? else
/ m6 L2 V8 A* L/ R return 0;
# b0 Y8 g+ j4 k" j! Q4 P4 k }
! k' J) `0 I. i' e, a);
( d4 ?& t: W; F2 Q+ o6 ofor(var i = 0;i<array.length;i++)
2 h) ^' r7 T/ W{
- M7 X! d- \6 m+ \6 Y! Y8 u var g = array<i>;
! J* b; s- d1 W2 I" s if(!g.c){' o# A) u+ l3 O9 p* P7 M$ v4 q
g.c="";
! G: m0 ~0 d! l. s }# w& ?1 H) N5 J, l
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
: J t* X5 }. _, `, a/ f}) Y1 Y* v5 d! p' b" v- X
var time = setInterval("lrcList()",500);
. g, _0 N$ J [; Q6 ~4 C( z}else{
9 d) M! d9 P8 A6 }- R' l $("#list").innerHTML=$("#lrc").innerHTML;9 W3 i# f6 S* @$ u& P, J+ z
}, L# n8 @1 y* \) b# C- A( t
function getNext(i)
- x% i9 L+ p: |( l2 W3 l$ o{
7 y6 [% E6 G4 y, R var result = "";1 K6 B7 [6 t, W' {' d3 D
var i = i+1;8 d* b: M& X& M8 i9 A/ @
t = lrc<i>.split("]");
2 \& g8 i. O) z if(t[1]=="")
2 \% J* r1 v; a* l* n8 e4 O' K0 i result = getNext(i);# U2 A# _0 K& I" V% ~* ~* p
else9 e8 r, w8 l* `9 m5 {: V
result = t[1]' o% h7 f& z" t, S6 \
return result;
8 `1 k- W- t0 e4 H O}; S, O8 I2 d6 ?4 n6 a6 @# c* ~
; ]9 Y6 r7 r+ L" {* O) y
function getTime(str)2 s+ `" X; V" d
{
! U c2 w3 p7 w7 B. L var time =0;7 ~ Q# j, O8 p) i
var ta = str.split(":");) w* j1 K0 r( y% c
if(ta.length<2)- e, e8 Q( I4 \* P4 d% U) n( |
return time;
9 w- t W s" j' Y; k; P; R7 X1 N8 t8 ?3 f& t5 n& r7 N& o
if(ta[1].indexOf(".")>0){9 q9 e& S) l9 k- v
var tb = ta[1].split(".");; O; d1 ^5 m/ R; T
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;9 G" _0 y, e: ?) t
}
' e. A; b( ^7 U7 n else
( f3 r, N7 g+ [; W# c& a0 |% _$ ~' ? time =ta[0]*60*1000+ta[1]*1000;+ B9 ~$ N% O+ m3 W6 v; o
return time;5 i/ D" v0 c, ^$ y, E% j# h
}
9 {6 {. I. Z9 J& A# z _var preTime = 0;
9 W9 L8 p8 l# J1 A5 z; Kvar nextTime = 0;
: A: Y3 c D& m+ \var currIndex =0;8 f1 w5 n: I2 p
function lrcList(){
2 I) F" h* k0 W6 n var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;% c; g5 t( Z! P; ?9 r5 t
s = s*1000;
) Y& p/ s3 r/ i if(s==0){
' {# T2 d/ p- ^- K) `& p currIndex =0;
' m8 P$ f3 z3 y0 h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 d; [! s0 @) G, {( e
for(var i=0;i<array.length;i++){2 H0 r/ O, J$ l2 T
document.getElementById("lrc"+i).style.color=colorNormal;) L. s: ]1 g9 O
}
8 T Y$ s4 {/ H9 E; ] return;
4 [) _" _8 u$ ~2 K# o/ D7 p }8 M3 M3 ^9 d! P1 @
if(s>0&&currIndex<array.length-1)9 |0 T# {, |$ u ^
{ 2 U1 P; `; s# A" ~$ Y. ^; `7 [
preTime = array[currIndex].time;
; S* B- J2 s4 ^7 n# M& Z' V" _, M, @ 4 Q9 j4 R2 `3 ?% } |. ^ J" c
nextTime = array[currIndex+1].time;
# n( a' }" `; _" |6 L1 a
6 ~1 X; a' C6 q3 @1 l( T5 f if(s>=preTime&&s<nextTime){
6 M* k' T: ]( n+ m }& b9 L x" ~5 H. U) N2 \
else if(s>=nextTime)) Z4 M) h1 K- b3 C; y4 c/ f
{) q! N9 D+ }. Y- h/ q, @2 u4 |; p
document.getElementById("lrc"+currIndex).style.color=colorPasted;' P% ]# X# {' j2 Z7 u, M
currIndex++;2 U, g2 }/ `& m! {' d" w
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;8 q8 P) r! |. Z$ t1 s
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
2 L9 r) u8 E; f1 L+ h lrcList();
( ~7 g$ L# R. B" | }
% W% r1 \/ c# u& \. S/ V# y; p! ~* [ else{7 t' U# h. Y1 z
document.getElementById("lrc"+currIndex).style.color=colorNormal;; o3 A H0 f+ B9 J V- X# `7 q
currIndex--;6 E- j" I' r' x9 w( S8 Q6 s
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;; }5 B1 S3 L5 c' t1 F" o: [
document.getElementById("lrc"+currIndex).style.color=colorPlaying;2 D$ Q7 {3 O6 s" V* c+ X
lrcList();
1 j& ]4 j0 n6 c9 N: `5 S/ b; h }
+ q" J+ A# z: D! A% V3 x }
/ K8 {8 r3 J+ h" s! C P, v5 t8 H else
' { u6 k% U7 N; {% g# l( O {
, g6 Y, y7 M9 S: U1 u if(s<array[array.length-1].time){
) p* }! P% r2 k6 k/ ^: \# Q currIndex = 0;
. F- x4 @2 o2 G7 X8 K0 Z $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
' t7 J& C9 _6 e! R$ c for(var i=0;i<array.length;i++){
7 o* m" H( u& v% Y+ E% u document.getElementById("lrc"+i).style.color=colorNormal;7 o0 m$ C* Y, H
}' ?3 m" }5 _( e f
lrcList();
& ^0 T6 o0 d7 \0 d. N }
1 l0 Q8 E \" f" B# m) [ }8 K: F* q9 S" ` L6 I( M4 U2 _" _7 q6 |
}
- \7 N! P& |9 z2 h</SCRIPT>
t- C5 v# ~% S# w</DIV></DIV>
% k u% a- i+ X$ w" j% p, H- Z# X6 K% Y6 L8 w- h6 i
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|